﻿using System;
using System.Collections.Generic;

namespace SJ.Platform.TransferTool.DBmodels;

/// <summary>
/// 项目变更内容
/// </summary>
public partial class ProjectChangeInfo
{
    /// <summary>
    /// 主键
    /// </summary>
    public string Id { get; set; } = null!;

    /// <summary>
    /// 主记录ID
    /// </summary>
    public string? Mid { get; set; }

    /// <summary>
    /// 项目ID
    /// </summary>
    public string? ProjectId { get; set; }

    /// <summary>
    /// 需求ID
    /// </summary>
    public string? Rid { get; set; }

    /// <summary>
    /// 需求名称
    /// </summary>
    public string? Rname { get; set; }

    /// <summary>
    /// 进度ID
    /// </summary>
    public string? Sid { get; set; }

    /// <summary>
    /// 进度计划名称
    /// </summary>
    public string? Sname { get; set; }

    /// <summary>
    /// 团队成员记录ID
    /// </summary>
    public string? MemberId { get; set; }

    /// <summary>
    /// 变更类型（1=新增，2=修正，3=删除）
    /// </summary>
    public int? ChangeType { get; set; }

    /// <summary>
    /// 变更内容
    /// </summary>
    public string? Content { get; set; }

    /// <summary>
    /// 开始时间（进度变更）
    /// </summary>
    public DateTime? StartTime { get; set; }

    /// <summary>
    /// 结束时间（进度变更）
    /// </summary>
    public DateTime? EndTime { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public DateTime? AddTime { get; set; }

    /// <summary>
    /// 添加人ID
    /// </summary>
    public string? AddUserId { get; set; }

    /// <summary>
    /// 最后修改时间
    /// </summary>
    public DateTime? EditTime { get; set; }

    /// <summary>
    /// 最后修改人ID
    /// </summary>
    public string? EditUserId { get; set; }
}
